
package com.bdilab.iot.exception;

/**
 * 未认证错误
 */

import com.bdilab.iot.enums.HttpCodeEnum;

public class UnAuthorizedExeception extends RuntimeException {

    public UnAuthorizedExeception(String message, Throwable cause) {
        super(message, cause);
    }

    public UnAuthorizedExeception(String message) {
        super(message);
    }


    public UnAuthorizedExeception() {
        super(HttpCodeEnum.UNAUTHORIZED.getMessage());
    }
}
